/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.DoanTau_DAO;
import DTO.DoanTau_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class DoanTau_BUS {
    
    public static String Get_MaDT() throws SQLException{
        return DoanTau_DAO.Get_MaDT();
    }
    public static ArrayList<DoanTau_DTO> GetALL(){
        return DoanTau_DAO.GetALL();
    }
    public static boolean Insert(DoanTau_DTO DoanTau){
        return DoanTau_DAO.Insert(DoanTau);
    }
    public static boolean Update(DoanTau_DTO DoanTau){
        return DoanTau_DAO.Update(DoanTau);
    }   
    public static boolean Delete(String MaDT){
        return DoanTau_DAO.Delete(MaDT);
    }

    public static ArrayList<DoanTau_DTO> GetAll() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
    
}
